package com.aizhixin.lab.course.course.entity;

import com.aizhixin.lab.common.entity.AbstractIdAndCreatedDateEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "c_course_chapter_file")
@ToString
public class CourseChapterFile extends AbstractIdAndCreatedDateEntity {
    @Column(name = "chapter_id")
    @Getter
    @Setter
    private Long chapterId;
    @Column(name = "name")
    @Getter
    @Setter
    private String name;
    @Column(name = "type")
    @Getter
    @Setter
    private Integer type;//10:视频 20:课件 30:老师参考 40:实验手册
    @Column(name = "no")
    @Getter
    @Setter
    private Integer no;
    @Column(name = "file_key")
    @Getter
    @Setter
    private String fileKey;
    @Column(name = "file_url")
    @Getter
    @Setter
    private String fileUrl;
    @Column(name = "is_hide")
    @Getter
    @Setter
    private Boolean isHide;
}
